from typing import List


def embed_text(text: str) -> List[float]:
    t = (text or "").lower()
    a = sum(ord(c) for c in t) or 1
    b = sum(ord(c) for c in t if c.isalpha()) or 1
    c = sum(ord(c) for c in t if c.isdigit()) or 1
    d = len(t) or 1
    v = [float(a), float(b), float(c), float(d)]
    s = sum(v) or 1.0
    return [x / s for x in v]